"""
异常模块
"""


class InvalidParamException(Exception):
    """
    参数错误异常类
    """

    def __init__(self, *args, **kwargs):
        super(InvalidParamException, self).__init__(*args, **kwargs)


class InvalidSignException(Exception):
    """
    签名错误异常类
    """

    def __init__(self, *args, **kwargs):
        super(InvalidSignException, self).__init__(*args, **kwargs)


class InvalidUserException(Exception):
    """
    用户错误异常类
    """

    def __init__(self, *args, **kwargs):
        super(InvalidUserException, self).__init__(*args, **kwargs)


class UnauthorizedException(Exception):
    """
    认证错误异常类
    """

    def __init__(self, *args, **kwargs):
        super(UnauthorizedException, self).__init__(*args, **kwargs)


class AccessLimitationException(Exception):
    """
    访问限制异常类
    """

    def __init__(self, *args, **kwargs):
        super(AccessLimitationException, self).__init__(*args, **kwargs)


class InternalErrorException(Exception):
    """
    内部错误异常类
    """

    def __init__(self, *args, **kwargs):
        super(InternalErrorException, self).__init__(*args, **kwargs)
